From: Jasper St. Pierre Date: Fri, 2 Aug 2013 04:08:33 +0000 (-0400) Subject: messageTray: Remove a lot of dead signals X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3805 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4ed7f5eb67b3d672c37401034c23e679d123c78e;p=gnome-shell.git messageTray: Remove a lot of dead signals --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 9705fcb5d..168d66c1d 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1031,7 +1031,6 @@ const Notification = new Lang.Class({ // Restore height requisition this.actor.add_style_class_name('notification-unexpanded'); - this.emit('collapsed'); }, _onActionInvoked: function(actor, mouseButtonClicked, id) { @@ -1361,8 +1360,8 @@ const Source = new Lang.Class({ this.iconUpdated(); }, - open: function(notification) { - this.emit('opened', notification); + // To be overridden by subclasses + open: function() { }, destroyNonResidentNotifications: function() { @@ -2760,7 +2759,6 @@ const MessageTray = new Lang.Class({ this._clickedSummaryItemMouseButton = button; if (this._clickedSummaryItem) { - this._clickedSummaryItem.source.emit('summary-item-clicked', button); this._clickedSummaryItem.actor.add_style_pseudo_class('selected'); this._clickedSummaryItemAllocationChangedId = this._clickedSummaryItem.actor.connect('allocation-changed',